getCurrentInsets

@NonNull
open fun getCurrentInsets(): @NonNull Insets(source)

Retrieves the current insets.

Note that these insets are always relative to the window, which is the same as being relative to getRootView

Return

The current insets on the currently showing frame. These insets will change as the animation progresses to reflect the current insets provided by the controlled window.